package com.wedimob.slideshare.task;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public class Worker {

    List<Task<?,?>> tasks = new LinkedList<>();
    Map<Task<?,?>, Task<?,?>> taskDependencies = new HashMap<Task<?,?>, Task<?,?>>();

    Worker start(Task<?,?> task) {
        return this;
    }

    Worker then(Task<?,?> task) {
        return this;
    }

    Worker then(Task<?,?> tasks[]) {
        return this;
    }
}
